package com.pet.mapper;

import com.pet.pojo.Admin;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminMapper {

    /**
     * 管理员登录
     * @param username
     * @param password
     * @return
     */
    Admin login(@Param("name") String username, @Param("password") String password);
}
